<!DOCTYPE html>
<html class="has-navbar-fixed-top">
<head><meta name="generator" content="Hexo 3.8.0">
    <meta charset="utf-8">
<title>HANZO</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/outdated-browser/1.1.5/outdatedbrowser.min.css">


<meta name="description" content="鬼王, HANZO, THRAEX">



<meta name="keywords" content="鬼王, O70, HANZO, THRAEX">



    <meta name="description" content="鬼王, HANZO, THRAEX">
<meta name="keywords" content="鬼王, O70, HANZO, THRAEX">
<meta property="og:type" content="website">
<meta property="og:title" content="HANZO">
<meta property="og:url" content="http://yoursite.com/page/5/index.html">
<meta property="og:site_name" content="HANZO">
<meta property="og:description" content="鬼王, HANZO, THRAEX">
<meta property="og:locale" content="en">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="HANZO">
<meta name="twitter:description" content="鬼王, HANZO, THRAEX">





<link rel="icon" href="/images/favicon.ico">


<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ovo|Source+Code+Pro">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">


<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/lightgallery/1.6.8/css/lightgallery.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/justifiedGallery/3.6.5/css/justifiedGallery.min.css">


<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css">

<link rel="stylesheet" href="/css/style.css">

<script defer src="//use.fontawesome.com/releases/v5.0.8/js/all.js"></script>



</head>
<body>
    
<nav class="navbar is-transparent is-fixed-top navbar-main" role="navigation" aria-label="main navigation">
    <div class="container">
        <div class="navbar-brand">
            <a class="navbar-item navbar-logo" href="/">
                
                    
                    HANZO
                    
                
            </a>
            <div class="navbar-burger">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
        
        <div class="navbar-menu navbar-start">
            
            <a class="navbar-item " href="/categories/Technology">Technology</a>
            
            <a class="navbar-item " href="/categories/Life">Life</a>
            
            <a class="navbar-item " href="/archives">Archives</a>
            
            <a class="navbar-item " href="/about">About</a>
            
            <a class="navbar-item " href="/main">Main</a>
            
        </div>
        
        <div class="navbar-menu navbar-end">
            
            <a class="navbar-item search" title="Search" href="javascript:;">
                <i class="fas fa-search"></i>
            </a>
            
            
            
            <a class="navbar-item" title="GitHub" href="https://github.com/O70">
                
                <i class="fab fa-github"></i>
                
            </a>
               
            
        </div>
    </div>
</nav>

    <section class="section">
    <div class="container">
    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/Life/Food/food-menu.html" itemprop="url">Food Menu</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-04-12T03:37:25.000Z" itemprop="datePublished">Apr 12 2019</time>
        </span>
        
        <span class="column is-narrow article-category">
            <i class="far fa-folder"></i>
            <a class="article-category-link" href="/categories/Life/">Life</a><span>></span><a class="article-category-link" href="/categories/Life/Food/">Food</a>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a few seconds read (About 17 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <p><img src="/images/food1.png" alt="Page 1"></p>
        <p class="article-more-link">
            <a href="/documents/Life/Food/food-menu.html#more">Read More</a>
        </p>
    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/others/npm-settings.html" itemprop="url">NPM Settings</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-04-01T01:00:00.000Z" itemprop="datePublished">Apr 1 2019</time>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a few seconds read (About 38 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h2 id="Config"><a href="#Config" class="headerlink" title="Config"></a>Config</h2><h3 id="Proxy"><a href="#Proxy" class="headerlink" title="Proxy"></a>Proxy</h3><figure class="highlight plain hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ npm config list</span><br></pre></td></tr></table></figure>
<figure class="highlight plain hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ npm config set proxy http://server:port</span><br><span class="line">$ npm config set https-proxy http://server:port</span><br><span class="line">$ npm config set registry https://registry.npm.taobao.org</span><br></pre></td></tr></table></figure>
<figure class="highlight plain hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ npm config delete proxy</span><br><span class="line">$ npm config delete https-proxy</span><br></pre></td></tr></table></figure>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/others/maven-settings.html" itemprop="url">Maven Settings</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-04-01T01:00:00.000Z" itemprop="datePublished">Apr 1 2019</time>
        </span>
        
        
        <span class="column is-narrow">
            
            
            9 minutes read (About 1278 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h1 id="Maven-Settings"><a href="#Maven-Settings" class="headerlink" title="Maven Settings"></a>Maven Settings</h1><h2 id="settings-xml"><a href="#settings-xml" class="headerlink" title="settings.xml"></a>settings.xml</h2><figure class="highlight xml hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br></pre></td><td class="code"><pre><span class="line"><span class="hljs-meta">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></span><br><span class="line"></span><br><span class="line"><span class="hljs-comment">&lt;!--</span></span><br><span class="line"><span class="hljs-comment">Licensed to the Apache Software Foundation (ASF) under one</span></span><br><span class="line"><span class="hljs-comment">or more contributor license agreements.  See the NOTICE file</span></span><br><span class="line"><span class="hljs-comment">distributed with this work for additional information</span></span><br><span class="line"><span class="hljs-comment">regarding copyright ownership.  The ASF licenses this file</span></span><br><span class="line"><span class="hljs-comment">to you under the Apache License, Version 2.0 (the</span></span><br><span class="line"><span class="hljs-comment">"License"); you may not use this file except in compliance</span></span><br><span class="line"><span class="hljs-comment">with the License.  You may obtain a copy of the License at</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">    http://www.apache.org/licenses/LICENSE-2.0</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">Unless required by applicable law or agreed to in writing,</span></span><br><span class="line"><span class="hljs-comment">software distributed under the License is distributed on an</span></span><br><span class="line"><span class="hljs-comment">"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></span><br><span class="line"><span class="hljs-comment">KIND, either express or implied.  See the License for the</span></span><br><span class="line"><span class="hljs-comment">specific language governing permissions and limitations</span></span><br><span class="line"><span class="hljs-comment">under the License.</span></span><br><span class="line"><span class="hljs-comment">--&gt;</span></span><br><span class="line"></span><br><span class="line"><span class="hljs-comment">&lt;!--</span></span><br><span class="line"><span class="hljs-comment"> | This is the configuration file for Maven. It can be specified at two levels:</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |  1. User Level. This settings.xml file provides configuration for a single user,</span></span><br><span class="line"><span class="hljs-comment"> |                 and is normally provided in $&#123;user.home&#125;/.m2/settings.xml.</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |                 <span class="hljs-doctag">NOTE:</span> This location can be overridden with the CLI option:</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |                 -s /path/to/user/settings.xml</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |  2. Global Level. This settings.xml file provides configuration for all Maven</span></span><br><span class="line"><span class="hljs-comment"> |                 users on a machine (assuming they're all using the same Maven</span></span><br><span class="line"><span class="hljs-comment"> |                 installation). It's normally provided in</span></span><br><span class="line"><span class="hljs-comment"> |                 $&#123;maven.conf&#125;/settings.xml.</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |                 <span class="hljs-doctag">NOTE:</span> This location can be overridden with the CLI option:</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |                 -gs /path/to/global/settings.xml</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> | The sections in this sample file are intended to give you a running start at</span></span><br><span class="line"><span class="hljs-comment"> | getting the most out of your Maven installation. Where appropriate, the default</span></span><br><span class="line"><span class="hljs-comment"> | values (values used when the setting is not specified) are provided.</span></span><br><span class="line"><span class="hljs-comment"> |</span></span><br><span class="line"><span class="hljs-comment"> |--&gt;</span></span><br><span class="line"><span class="hljs-tag">&lt;<span class="hljs-name">settings</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://maven.apache.org/SETTINGS/1.0.0"</span></span></span><br><span class="line"><span class="hljs-tag">          <span class="hljs-attr">xmlns:xsi</span>=<span class="hljs-string">"http://www.w3.org/2001/XMLSchema-instance"</span></span></span><br><span class="line"><span class="hljs-tag">          <span class="hljs-attr">xsi:schemaLocation</span>=<span class="hljs-string">"http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"</span>&gt;</span></span><br><span class="line">  <span class="hljs-comment">&lt;!-- localRepository</span></span><br><span class="line"><span class="hljs-comment">   | The path to the local repository maven will use to store artifacts.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | Default: $&#123;user.home&#125;/.m2/repository</span></span><br><span class="line"><span class="hljs-comment">  &lt;localRepository&gt;/path/to/local/repo&lt;/localRepository&gt;</span></span><br><span class="line"><span class="hljs-comment">  --&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- interactiveMode</span></span><br><span class="line"><span class="hljs-comment">   | This will determine whether maven prompts you when it needs input. If set to false,</span></span><br><span class="line"><span class="hljs-comment">   | maven will use a sensible default value, perhaps based on some other setting, for</span></span><br><span class="line"><span class="hljs-comment">   | the parameter in question.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | Default: true</span></span><br><span class="line"><span class="hljs-comment">  &lt;interactiveMode&gt;true&lt;/interactiveMode&gt;</span></span><br><span class="line"><span class="hljs-comment">  --&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- offline</span></span><br><span class="line"><span class="hljs-comment">   | Determines whether maven should attempt to connect to the network when executing a build.</span></span><br><span class="line"><span class="hljs-comment">   | This will have an effect on artifact downloads, artifact deployment, and others.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | Default: false</span></span><br><span class="line"><span class="hljs-comment">  &lt;offline&gt;false&lt;/offline&gt;</span></span><br><span class="line"><span class="hljs-comment">  --&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- pluginGroups</span></span><br><span class="line"><span class="hljs-comment">   | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.</span></span><br><span class="line"><span class="hljs-comment">   | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers</span></span><br><span class="line"><span class="hljs-comment">   | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.</span></span><br><span class="line"><span class="hljs-comment">   |--&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;<span class="hljs-name">pluginGroups</span>&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- pluginGroup</span></span><br><span class="line"><span class="hljs-comment">     | Specifies a further group identifier to use for plugin lookup.</span></span><br><span class="line"><span class="hljs-comment">    &lt;pluginGroup&gt;com.your.plugins&lt;/pluginGroup&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;/<span class="hljs-name">pluginGroups</span>&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- proxies</span></span><br><span class="line"><span class="hljs-comment">   | This is a list of proxies which can be used on this machine to connect to the network.</span></span><br><span class="line"><span class="hljs-comment">   | Unless otherwise specified (by system property or command-line switch), the first proxy</span></span><br><span class="line"><span class="hljs-comment">   | specification in this list marked as active will be used.</span></span><br><span class="line"><span class="hljs-comment">   |--&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;<span class="hljs-name">proxies</span>&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- proxy</span></span><br><span class="line"><span class="hljs-comment">     | Specification for one proxy, to be used in connecting to the network.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">    &lt;proxy&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;optional&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;active&gt;true&lt;/active&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;protocol&gt;http&lt;/protocol&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;proxyuser&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;proxypass&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;host&gt;proxy.host.net&lt;/host&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;port&gt;80&lt;/port&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;nonProxyHosts&gt;local.net|some.host.com&lt;/nonProxyHosts&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/proxy&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!-- HANZO ADD --&gt;</span></span><br><span class="line">    <span class="hljs-tag">&lt;<span class="hljs-name">proxy</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">id</span>&gt;</span>proxy_server<span class="hljs-tag">&lt;/<span class="hljs-name">id</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">active</span>&gt;</span>true<span class="hljs-tag">&lt;/<span class="hljs-name">active</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">protocol</span>&gt;</span>http<span class="hljs-tag">&lt;/<span class="hljs-name">protocol</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">host</span>&gt;</span>proxy1.bj.proxy_server<span class="hljs-tag">&lt;/<span class="hljs-name">host</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">port</span>&gt;</span>8080<span class="hljs-tag">&lt;/<span class="hljs-name">port</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">nonProxyHosts</span>&gt;</span>local.*|*.local|10.*|*.proxy_server|*.c1n2p3c<span class="hljs-tag">&lt;/<span class="hljs-name">nonProxyHosts</span>&gt;</span></span><br><span class="line">    <span class="hljs-tag">&lt;/<span class="hljs-name">proxy</span>&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;/<span class="hljs-name">proxies</span>&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- servers</span></span><br><span class="line"><span class="hljs-comment">   | This is a list of authentication profiles, keyed by the server-id used within the system.</span></span><br><span class="line"><span class="hljs-comment">   | Authentication profiles can be used whenever maven must make a connection to a remote server.</span></span><br><span class="line"><span class="hljs-comment">   |--&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;<span class="hljs-name">servers</span>&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- server</span></span><br><span class="line"><span class="hljs-comment">     | Specifies the authentication information to use when connecting to a particular server, identified by</span></span><br><span class="line"><span class="hljs-comment">     | a unique name within the system (referred to by the 'id' attribute below).</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     | <span class="hljs-doctag">NOTE:</span> You should either specify username/password OR privateKey/passphrase, since these pairings are</span></span><br><span class="line"><span class="hljs-comment">     |       used together.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">    &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;deploymentRepo&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;repouser&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;repopwd&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!-- Another sample, using keys to authenticate.</span></span><br><span class="line"><span class="hljs-comment">    &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;siteServer&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;privateKey&gt;/path/to/private/key&lt;/privateKey&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;passphrase&gt;optional; leave empty if not used.&lt;/passphrase&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!-- HANZO ADD --&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;nexus-snapshots&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;admin&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;admin123&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;nexus-releases&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;admin&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;admin123&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;tomcat7&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;tomcat&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;tomcat&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt; --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!-- 与mirrors中的nexus-hanzo mirror对应 --&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- &lt;server&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;nexus-hanzo&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;username&gt;maven&lt;/username&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;password&gt;@!#PTRmaven@244&lt;/password&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/server&gt; --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!--</span></span><br><span class="line"><span class="hljs-comment">    参考文章：https://www.cnblogs.com/shuaiandjun/p/7604619.html</span></span><br><span class="line"><span class="hljs-comment">    1.局部：pom.xml中设置&lt;repositories&gt;...&lt;/repositories&gt;,仅对当前项目有效(pluginRepositories也是如此)</span></span><br><span class="line"><span class="hljs-comment">    2.全局：settings.xml</span></span><br><span class="line"><span class="hljs-comment">    &lt;repositories&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;repository&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;id&gt;nexus_public&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;name&gt;Nexus_public&lt;/name&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;url&gt;http://10.122.163.99:8081/repository/maven-public/&lt;/url&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;releases&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;enabled&gt;true&lt;/enabled&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;/releases&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;snapshots&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;enabled&gt;true&lt;/enabled&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;/snapshots&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;/repository&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/repositories&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line">    <span class="hljs-tag">&lt;<span class="hljs-name">server</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">id</span>&gt;</span>nexus_public<span class="hljs-tag">&lt;/<span class="hljs-name">id</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">username</span>&gt;</span>maven<span class="hljs-tag">&lt;/<span class="hljs-name">username</span>&gt;</span></span><br><span class="line">      <span class="hljs-tag">&lt;<span class="hljs-name">password</span>&gt;</span>@!#PTRmaven@244<span class="hljs-tag">&lt;/<span class="hljs-name">password</span>&gt;</span></span><br><span class="line">    <span class="hljs-tag">&lt;/<span class="hljs-name">server</span>&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;/<span class="hljs-name">servers</span>&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- mirrors</span></span><br><span class="line"><span class="hljs-comment">   | This is a list of mirrors to be used in downloading artifacts from remote repositories.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | It works like this: a POM may declare a repository to use in resolving certain artifacts.</span></span><br><span class="line"><span class="hljs-comment">   | However, this repository may have problems with heavy traffic at times, so people have mirrored</span></span><br><span class="line"><span class="hljs-comment">   | it to several places.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | That repository definition will have a unique id, so we can create a mirror reference for that</span></span><br><span class="line"><span class="hljs-comment">   | repository, to be used as an alternate download site. The mirror site will be the preferred</span></span><br><span class="line"><span class="hljs-comment">   | server for that repository.</span></span><br><span class="line"><span class="hljs-comment">   |--&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;<span class="hljs-name">mirrors</span>&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- mirror</span></span><br><span class="line"><span class="hljs-comment">     | Specifies a repository mirror site to use instead of a given repository. The repository that</span></span><br><span class="line"><span class="hljs-comment">     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used</span></span><br><span class="line"><span class="hljs-comment">     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">    &lt;mirror&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;mirrorId&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;mirrorOf&gt;repositoryId&lt;/mirrorOf&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;name&gt;Human Readable Name for this Mirror.&lt;/name&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;url&gt;http://my.repository.com/repo/path&lt;/url&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/mirror&gt;</span></span><br><span class="line"><span class="hljs-comment">     --&gt;</span></span><br><span class="line"></span><br><span class="line">     <span class="hljs-comment">&lt;!-- HANZO ADD --&gt;</span></span><br><span class="line">     <span class="hljs-comment">&lt;!-- &lt;mirror&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;nexus-hanzo&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;mirrorOf&gt;*&lt;/mirrorOf&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;name&gt;Internal Nexus Repository&lt;/name&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;url&gt;http://10.122.163.99:8081/repository/maven-public&lt;/url&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/mirror&gt; --&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;/<span class="hljs-name">mirrors</span>&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- profiles</span></span><br><span class="line"><span class="hljs-comment">   | This is a list of profiles which can be activated in a variety of ways, and which can modify</span></span><br><span class="line"><span class="hljs-comment">   | the build process. Profiles provided in the settings.xml are intended to provide local machine-</span></span><br><span class="line"><span class="hljs-comment">   | specific paths and repository locations which allow the build to work in the local environment.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | For example, if you have an integration testing plugin - like cactus - that needs to know where</span></span><br><span class="line"><span class="hljs-comment">   | your Tomcat instance is installed, you can provide a variable here such that the variable is</span></span><br><span class="line"><span class="hljs-comment">   | dereferenced during the build process to configure the cactus plugin.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles</span></span><br><span class="line"><span class="hljs-comment">   | section of this document (settings.xml) - will be discussed later. Another way essentially</span></span><br><span class="line"><span class="hljs-comment">   | relies on the detection of a system property, either matching a particular value for the property,</span></span><br><span class="line"><span class="hljs-comment">   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a</span></span><br><span class="line"><span class="hljs-comment">   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.</span></span><br><span class="line"><span class="hljs-comment">   | Finally, the list of active profiles can be specified directly from the command line.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   | <span class="hljs-doctag">NOTE:</span> For profiles defined in the settings.xml, you are restricted to specifying only artifact</span></span><br><span class="line"><span class="hljs-comment">   |       repositories, plugin repositories, and free-form properties to be used as configuration</span></span><br><span class="line"><span class="hljs-comment">   |       variables for plugins in the POM.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">   |--&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;<span class="hljs-name">profiles</span>&gt;</span></span><br><span class="line">    <span class="hljs-comment">&lt;!-- profile</span></span><br><span class="line"><span class="hljs-comment">     | Specifies a set of introductions to the build process, to be activated using one or more of the</span></span><br><span class="line"><span class="hljs-comment">     | mechanisms described above. For inheritance purposes, and to activate profiles via &lt;activatedProfiles/&gt;</span></span><br><span class="line"><span class="hljs-comment">     | or the command line, profiles have to have an ID that is unique.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     | An encouraged best practice for profile identification is to use a consistent naming convention</span></span><br><span class="line"><span class="hljs-comment">     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.</span></span><br><span class="line"><span class="hljs-comment">     | This will make it more intuitive to understand what the set of introduced profiles is attempting</span></span><br><span class="line"><span class="hljs-comment">     | to accomplish, particularly when you only have a list of profile id's for debug.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.</span></span><br><span class="line"><span class="hljs-comment">    &lt;profile&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;jdk-1.4&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">      &lt;activation&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;jdk&gt;1.4&lt;/jdk&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;/activation&gt;</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">      &lt;repositories&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;repository&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;id&gt;jdk14&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;name&gt;Repository for JDK 1.4 builds&lt;/name&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;url&gt;http://www.myhost.com/maven/jdk14&lt;/url&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;layout&gt;default&lt;/layout&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;snapshotPolicy&gt;always&lt;/snapshotPolicy&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;/repository&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;/repositories&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/profile&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line"></span><br><span class="line">    <span class="hljs-comment">&lt;!--</span></span><br><span class="line"><span class="hljs-comment">     | Here is another profile, activated by the system property 'target-env' with a value of 'dev',</span></span><br><span class="line"><span class="hljs-comment">     | which provides a specific path to the Tomcat instance. To use this, your plugin configuration</span></span><br><span class="line"><span class="hljs-comment">     | might hypothetically look like:</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     | ...</span></span><br><span class="line"><span class="hljs-comment">     | &lt;plugin&gt;</span></span><br><span class="line"><span class="hljs-comment">     |   &lt;groupId&gt;org.myco.myplugins&lt;/groupId&gt;</span></span><br><span class="line"><span class="hljs-comment">     |   &lt;artifactId&gt;myplugin&lt;/artifactId&gt;</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     |   &lt;configuration&gt;</span></span><br><span class="line"><span class="hljs-comment">     |     &lt;tomcatLocation&gt;$&#123;tomcatPath&#125;&lt;/tomcatLocation&gt;</span></span><br><span class="line"><span class="hljs-comment">     |   &lt;/configuration&gt;</span></span><br><span class="line"><span class="hljs-comment">     | &lt;/plugin&gt;</span></span><br><span class="line"><span class="hljs-comment">     | ...</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">     | <span class="hljs-doctag">NOTE:</span> If you just wanted to inject this configuration whenever someone set 'target-env' to</span></span><br><span class="line"><span class="hljs-comment">     |       anything, you could just leave off the &lt;value/&gt; inside the activation-property.</span></span><br><span class="line"><span class="hljs-comment">     |</span></span><br><span class="line"><span class="hljs-comment">    &lt;profile&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;id&gt;env-dev&lt;/id&gt;</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">      &lt;activation&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;property&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;name&gt;target-env&lt;/name&gt;</span></span><br><span class="line"><span class="hljs-comment">          &lt;value&gt;dev&lt;/value&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;/property&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;/activation&gt;</span></span><br><span class="line"><span class="hljs-comment"></span></span><br><span class="line"><span class="hljs-comment">      &lt;properties&gt;</span></span><br><span class="line"><span class="hljs-comment">        &lt;tomcatPath&gt;/path/to/tomcat/instance&lt;/tomcatPath&gt;</span></span><br><span class="line"><span class="hljs-comment">      &lt;/properties&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;/profile&gt;</span></span><br><span class="line"><span class="hljs-comment">    --&gt;</span></span><br><span class="line">  <span class="hljs-tag">&lt;/<span class="hljs-name">profiles</span>&gt;</span></span><br><span class="line"></span><br><span class="line">  <span class="hljs-comment">&lt;!-- activeProfiles</span></span><br><span class="line"><span class="hljs-comment">   | List of profiles that are active for all builds.</span></span><br><span class="line"><span class="hljs-comment">   |</span></span><br><span class="line"><span class="hljs-comment">  &lt;activeProfiles&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;activeProfile&gt;alwaysActiveProfile&lt;/activeProfile&gt;</span></span><br><span class="line"><span class="hljs-comment">    &lt;activeProfile&gt;anotherAlwaysActiveProfile&lt;/activeProfile&gt;</span></span><br><span class="line"><span class="hljs-comment">  &lt;/activeProfiles&gt;</span></span><br><span class="line"><span class="hljs-comment">  --&gt;</span></span><br><span class="line"><span class="hljs-tag">&lt;/<span class="hljs-name">settings</span>&gt;</span></span><br></pre></td></tr></table></figure>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/others/deploying-the-development-environment.html" itemprop="url">Deploying the Development Environment</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-04-01T01:00:00.000Z" itemprop="datePublished">Apr 1 2019</time>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a minute read (About 129 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h2 id="Start-the-Docker-Container"><a href="#Start-the-Docker-Container" class="headerlink" title="Start the Docker Container"></a>Start the Docker Container</h2><p><a href="../Docker/docker-run-image.html">Run Image</a></p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ docker start c-mysql; docker start c-zipkin</span><br></pre></td></tr></table></figure>
<h2 id="Services"><a href="#Services" class="headerlink" title="Services"></a>Services</h2><ul>
<li><p>Registry</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ mvn spring-boot:run \</span><br><span class="line">  -DSERVER_IP=10.122.163.77 \</span><br><span class="line">  -DEUREKA_URL=http://eureka:eureka@10.122.163.77:8761/eureka \</span><br><span class="line">  -DMONITOR_URL=http://10.122.163.77:8060 \</span><br><span class="line">  -DZIPKIN_URL=http://10.122.163.77:9411</span><br></pre></td></tr></table></figure>
</li>
<li><p>Monitor</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ mvn spring-boot:run \</span><br><span class="line">  -DSERVER_IP=10.122.163.77 \</span><br><span class="line">  -DEUREKA_URL=http://eureka:eureka@10.122.163.77:8761/eureka</span><br></pre></td></tr></table></figure>
</li>
<li><p>Config</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">...</span><br></pre></td></tr></table></figure>
</li>
<li><p>Gateway</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ mvn spring-boot:run \</span><br><span class="line">  -DSERVER_IP=10.122.163.77 \</span><br><span class="line">  -DEUREKA_URL=http://eureka:eureka@10.122.163.77:8761/eureka \</span><br><span class="line">  -DZIPKIN_URL=http://10.122.163.77:9411</span><br></pre></td></tr></table></figure>
</li>
<li><p>Admin</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ mvn spring-boot:run \</span><br><span class="line">  -DSERVER_IP=10.122.163.77 \</span><br><span class="line">  -Dcnpc.eureka.service.url=http://eureka:eureka@10.122.163.77:8761/eureka \</span><br><span class="line">  -Dcnpc.zipkin.url=http://10.122.163.77:9411</span><br></pre></td></tr></table></figure>
</li>
<li><p>Food</p>
<figure class="highlight sh hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">$ mvn spring-boot:run \</span><br><span class="line">  -DSERVER_IP=10.122.163.76 \</span><br><span class="line">  -Dcnpc.eureka.service.url=http://eureka:eureka@10.122.163.77:8761/eureka \</span><br><span class="line">  -Dcnpc.zipkin.url=http://10.122.163.77:9411 \</span><br><span class="line">  -Dcnpc.datasource.url=jdbc:mysql://10.122.163.77:3306/esp_food \</span><br><span class="line">  -Dcnpc.datasource.username=hanzo \</span><br><span class="line">  -Dcnpc.datasource.password=hanzo70</span><br></pre></td></tr></table></figure>
</li>
</ul>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/others/developments.html" itemprop="url">Developments</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-01-21T00:00:00.000Z" itemprop="datePublished">Jan 21 2019</time>
        </span>
        
        
        <span class="column is-narrow">
            
            
            2 minutes read (About 325 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h1 id="Developments"><a href="#Developments" class="headerlink" title="Developments"></a>Developments</h1><h2 id="Kits"><a href="#Kits" class="headerlink" title="Kits"></a>Kits</h2><ul>
<li><a href="https://github.com" target="_blank" rel="noopener">GitHub</a></li>
<li><a href="https://gitee.com" target="_blank" rel="noopener">Gitee</a></li>
<li><a href="http://10.27.213.70" target="_blank" rel="noopener">GitLab</a></li>
<li>Old: <a href="http://10.122.163.99:8081" target="_blank" rel="noopener">Nexus</a></li>
<li><a href="http://10.122.163.216:8081" target="_blank" rel="noopener">Nexus</a></li>
<li><a href="http://10.27.213.99:8181/" target="_blank" rel="noopener">MinDoc</a>[<strong>123456</strong>]<!-- @!#PTRdocker@<key> --></li>
<li><a href="http://10.122.163.216:5000" target="_blank" rel="noopener">Docker Hub</a></li>
<li><a href="http://10.27.213.192:8888/BOOK/indexAdmin" target="_blank" rel="noopener">Library</a> <!-- Library-src.tar.gz 70 is database --></li>
<li><a href="http://10.27.213.65:50070" target="_blank" rel="noopener">Hadoop</a></li>
<li><a href="http://10.27.213.66:50070" target="_blank" rel="noopener">Hadoop Release</a></li>
<li><a href="http://10.122.163.216:8090/jenkins/" target="_blank" rel="noopener">Jenkins</a> <code>test50:PTRkygl@413</code> <!-- kygl/@!#PTRkygl@201 --></li>
</ul>
<h2 id="Service-Grid"><a href="#Service-Grid" class="headerlink" title="Service Grid"></a>Service Grid</h2><!-- PTR<key>413 -->
<table>
<thead>
<tr>
<th>Location</th>
<th>Eureka</th>
<th>Monitor</th>
<th>Zipkin</th>
<th>Admin-UI</th>
<th>User-UI</th>
</tr>
</thead>
<tbody>
<tr>
<td>Local</td>
<td><a href="http://10.122.163.77:8761" target="_blank" rel="noopener">http://10.122.163.77:8761</a></td>
<td><a href="http://10.122.163.77:8060" target="_blank" rel="noopener">http://10.122.163.77:8060</a></td>
<td><a href="http://10.122.163.77:9411" target="_blank" rel="noopener">http://10.122.163.77:9411</a></td>
<td>None</td>
<td>None</td>
</tr>
<tr>
<td>Dev</td>
<td><a href="http://10.27.213.167:8761" target="_blank" rel="noopener">http://10.27.213.167:8761</a></td>
<td><a href="http://10.27.213.167:8060" target="_blank" rel="noopener">http://10.27.213.167:8060</a></td>
<td><a href="http://10.27.213.167:9411" target="_blank" rel="noopener">http://10.27.213.167:9411</a></td>
<td><a href="http://10.27.213.167:8080" target="_blank" rel="noopener">http://10.27.213.167:8080</a></td>
<td><a href="http://10.27.213.167" target="_blank" rel="noopener">http://10.27.213.167</a></td>
</tr>
<tr>
<td>Test(59)</td>
<td><a href="http://11.11.141.59:30000" target="_blank" rel="noopener">http://11.11.141.59:30000</a></td>
<td><a href="http://11.11.141.59:30003" target="_blank" rel="noopener">http://11.11.141.59:30003</a></td>
<td><a href="http://11.11.141.59:30004" target="_blank" rel="noopener">http://11.11.141.59:30004</a></td>
<td><a href="http://11.11.141.59:30101" target="_blank" rel="noopener">http://11.11.141.59:30101</a></td>
<td><a href="http://11.11.141.59:30102" target="_blank" rel="noopener">http://11.11.141.59:30102</a></td>
</tr>
</tbody>
</table>
<p><strong>PTR[config]413</strong></p>
<h2 id="MySQL"><a href="#MySQL" class="headerlink" title="MySQL"></a>MySQL</h2><table>
<thead>
<tr>
<th style="text-align:center">Props</th>
<th style="text-align:center">Dev</th>
<th style="text-align:center">Test</th>
<th style="text-align:center">gray-Prod</th>
<th style="text-align:center">Prod</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">Host</td>
<td style="text-align:center">10.27.213.195</td>
<td style="text-align:center">11.11.141.59</td>
<td style="text-align:center">10.30.227.17</td>
<td style="text-align:center">10.30.227.38</td>
</tr>
<tr>
<td style="text-align:center">Port</td>
<td style="text-align:center">8066</td>
<td style="text-align:center">8066</td>
<td style="text-align:center">3306</td>
<td style="text-align:center">3306</td>
</tr>
<tr>
<td style="text-align:center">User</td>
<td style="text-align:center">root</td>
<td style="text-align:center">root</td>
<td style="text-align:center">root</td>
<td style="text-align:center">root</td>
</tr>
<tr>
<td style="text-align:center">Password</td>
<td style="text-align:center">MYSQLPTRkygl@[KEY]</td>
<td style="text-align:center">MYSQLPTRkygl@[KEY]</td>
<td style="text-align:center">CMPmysql@[KEY]esp</td>
<td style="text-align:center">CMPmysql@[KEY]esp</td>
</tr>
</tbody>
</table>
<h2 id="System-List"><a href="#System-List" class="headerlink" title="System List"></a>System List</h2><ul>
<li><a href="http://10.27.213.8:8080/" target="_blank" rel="noopener">HRMIS</a></li>
</ul>
<h2 id="Developer-Requirements"><a href="#Developer-Requirements" class="headerlink" title="Developer Requirements"></a>Developer Requirements</h2><figure class="highlight plain hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">### 普通开发人员:</span><br><span class="line"></span><br><span class="line">- 能熟练搭建需要的开发环境</span><br><span class="line">- 熟悉数据库CRUD基本操作</span><br><span class="line">- 熟悉Git, Maven等工具的基本操作</span><br><span class="line">- 能自主学习某个新框架, 参考DEMO完成某个功能的基本实现</span><br><span class="line">- 能理解并完成已分解好的子任务</span><br><span class="line">- 能独立完成单独功能模块的开发</span><br><span class="line"></span><br><span class="line">### 高级开发人员:</span><br><span class="line"></span><br><span class="line">- 所用编程语言基础扎实, 理解IO、多线程等基础框架</span><br><span class="line">- 能够进行库表设计, 对主流关系型/非关系型数据库能熟练使用</span><br><span class="line">- 对微服务, 分布式, 搜索引擎有一定了解</span><br><span class="line">- 熟悉Linux开发环境</span><br><span class="line">- 良好的模块化设计，优秀的代码规范，熟悉行业最常见的框架</span><br><span class="line">- 良好的沟通能力, 逻辑分析能力, 以及解决问题的能力</span><br></pre></td></tr></table></figure>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/others/古籍站點.html" itemprop="url">古籍站點</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2019-01-21T00:00:00.000Z" itemprop="datePublished">Jan 21 2019</time>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a minute read (About 126 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <ul>
<li><a href="http://www.guji.cn/" target="_blank" rel="noopener">中華古籍網</a></li>
<li><a href="http://gj.zdic.net/" target="_blank" rel="noopener">漢典古籍</a></li>
<li><a href="https://www.zdic.net/" target="_blank" rel="noopener">漢典</a></li>
<li><a href="https://www.gujiguan.com" target="_blank" rel="noopener">古籍館</a></li>
<li><a href="https://www.gushiwen.org/" target="_blank" rel="noopener">古詩文網</a></li>
<li><a href="https://shuge.org" target="_blank" rel="noopener">书格网</a></li>
<li><a href="http://www.sidneyluo.net" target="_blank" rel="noopener">汉川草庐</a></li>
<li><a href="http://hanji.sinica.edu.tw/" target="_blank" rel="noopener">中央研究院-汉籍电子文献</a></li>
<li><a href="https://www.wdl.org/zh/sets/chinese-literature" target="_blank" rel="noopener">世界数字图书馆</a></li>
<li><a href="http://hong.ioc.u-tokyo.ac.jp" target="_blank" rel="noopener">东京大学东洋文化研究中心藏双红堂文库全文影像资料库</a></li>
<li><a href="https://ctext.org/" target="_blank" rel="noopener">Chinese Text Project</a></li>
</ul>
<blockquote>
<p><a href="http://www.sohu.com/a/204389725_816130" target="_blank" rel="noopener">http://www.sohu.com/a/204389725_816130</a></p>
</blockquote>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/Technology/Java/java-generic-programming.html" itemprop="url">Java Generic Programming</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2018-12-17T02:03:13.000Z" itemprop="datePublished">Dec 17 2018</time>
        </span>
        
        <span class="column is-narrow article-category">
            <i class="far fa-folder"></i>
            <a class="article-category-link" href="/categories/Technology/">Technology</a><span>></span><a class="article-category-link" href="/categories/Technology/Java/">Java</a>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a minute read (About 220 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h1 id="Generic-Programming"><a href="#Generic-Programming" class="headerlink" title="Generic Programming"></a>Generic Programming</h1><ul>
<li>type parameters</li>
<li>type variable</li>
</ul>
<h2 id="Generic-Class"><a href="#Generic-Class" class="headerlink" title="Generic Class"></a>Generic Class</h2><p>The Java library uses the variable <strong>E</strong> for the element type of a collection, <strong>K</strong> and <strong>V</strong> for key and value types of a table, and <strong>T</strong> (and the neighboring letters <strong>U</strong> and <strong>S</strong>, if necessary) for “any type at all”.</p>
<figure class="highlight java hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br></pre></td><td class="code"><pre><span class="line"><span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Pair</span>&lt;<span class="hljs-title">T</span>&gt; </span>&#123;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-keyword">private</span> T first;</span><br><span class="line">    <span class="hljs-keyword">private</span> T second;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-title">Pair</span><span class="hljs-params">()</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">this</span>.first = <span class="hljs-keyword">null</span>;</span><br><span class="line">        <span class="hljs-keyword">this</span>.second = <span class="hljs-keyword">null</span>;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-title">Pair</span><span class="hljs-params">(T first, T second)</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">this</span>.first = first;</span><br><span class="line">        <span class="hljs-keyword">this</span>.second = second;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> T <span class="hljs-title">getFirst</span><span class="hljs-params">()</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">return</span> first;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">setFirst</span><span class="hljs-params">(T first)</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">this</span>.first = first;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> T <span class="hljs-title">getSecond</span><span class="hljs-params">()</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">return</span> second;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">setSecond</span><span class="hljs-params">(T second)</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">this</span>.second = second;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<figure class="highlight java hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Pair</span>&lt;<span class="hljs-title">T</span>, <span class="hljs-title">U</span>&gt; </span>&#123;</span><br><span class="line">  ...</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="Generic-Method"><a href="#Generic-Method" class="headerlink" title="Generic Method"></a>Generic Method</h2><p>You can define <strong>generic methods</strong> both inside ordinary classes and inside generic classes.<br><strong>泛型方法</strong> 可以定义在普通类中，也可以定义在泛型类中。</p>
<figure class="highlight java hljs"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ArrayAlg</span> </span>&#123;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> &lt;T&gt; <span class="hljs-function">T <span class="hljs-title">getMiddle</span><span class="hljs-params">(T... a)</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">return</span> a[a.length/<span class="hljs-number">2</span>];</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    <span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> &lt;T extends Comparable&gt; <span class="hljs-function">T <span class="hljs-title">min</span><span class="hljs-params">(T[] a)</span> </span>&#123;</span><br><span class="line">        <span class="hljs-keyword">return</span> <span class="hljs-keyword">null</span>;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="Generic-Code-and-the-Virtual-Machine"><a href="#Generic-Code-and-the-Virtual-Machine" class="headerlink" title="Generic Code and the Virtual Machine"></a>Generic Code and the Virtual Machine</h2><p>The virtual machine does not have objects of generic types—all objects belong to ordinary classes.<br>虚拟机没有泛型类型对象——所有对象都属于普通类。</p>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/Technology/Java/java-collections.html" itemprop="url">Java Collections</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2018-12-17T02:03:13.000Z" itemprop="datePublished">Dec 17 2018</time>
        </span>
        
        <span class="column is-narrow article-category">
            <i class="far fa-folder"></i>
            <a class="article-category-link" href="/categories/Technology/">Technology</a><span>></span><a class="article-category-link" href="/categories/Technology/Java/">Java</a>
        </span>
        
        
        <span class="column is-narrow">
            
            
            a few seconds read (About 28 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <h1 id="Java-Collections"><a href="#Java-Collections" class="headerlink" title="Java Collections"></a>Java Collections</h1><p>The initial release of Java supplied only a small set of classes for the most useful data structures: <strong>Vector</strong>, <strong>Stack</strong>, <strong>Hashtable</strong>, <strong>BitSet</strong>, and the <strong>Enumeration</strong> interface</p>

    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/Technology/Docker/docker-deploy-test.html" itemprop="url">Docker Deploy Test</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2018-11-12T02:26:12.000Z" itemprop="datePublished">Nov 12 2018</time>
        </span>
        
        <span class="column is-narrow article-category">
            <i class="far fa-folder"></i>
            <a class="article-category-link" href="/categories/Technology/">Technology</a><span>></span><a class="article-category-link" href="/categories/Technology/Docker/">Docker</a>
        </span>
        
        
        <span class="column is-narrow">
            
            
            3 minutes read (About 390 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <p><img src="/images/test.jpg" alt=""><br>Docker部署Spring Boot应用，以测试Spring Cloud相关组件。</p>
        <p class="article-more-link">
            <a href="/documents/Technology/Docker/docker-deploy-test.html#more">Read More</a>
        </p>
    
    </div>
    
    
</article>





    
        <article class="article content gallery" itemscope="" itemprop="blogPost">
    <h1 class="article-title is-size-3 is-size-4-mobile" itemprop="name">
        
            <a href="/documents/Technology/Git/github-gitee-pages-hexo.html" itemprop="url">GitHub/Gitee Pages + Hexo</a>
        
    </h1>
    <div class="article-meta columns is-variable is-1 is-multiline is-mobile is-size-7-mobile">
        <span class="column is-narrow">
            <time datetime="2018-11-08T10:15:58.000Z" itemprop="datePublished">Nov 8 2018</time>
        </span>
        
        <span class="column is-narrow article-category">
            <i class="far fa-folder"></i>
            <a class="article-category-link" href="/categories/Technology/">Technology</a><span>></span><a class="article-category-link" href="/categories/Technology/Git/">Git</a>
        </span>
        
        
        <span class="column is-narrow">
            
            
            2 minutes read (About 245 words)
        </span>
        
    </div>
    <div class="article-entry is-size-6-mobile" itemprop="articleBody">
    
        <!-- 1024x438 -->
<p><img src="/images/git-pages.png" alt=""><br>使用GitHub/Gitee Pages + hexo搭建个人博客。</p>
        <p class="article-more-link">
            <a href="/documents/Technology/Git/github-gitee-pages-hexo.html#more">Read More</a>
        </p>
    
    </div>
    
    
</article>





    
    
        
<nav class="pagination is-centered is-rounded" role="navigation" aria-label="pagination">
    <div class="pagination-previous">
        <a href="/page/4/">Prev</a>
    </div>
    <div class="pagination-next">
        <a href="/page/6/">Next</a>
    </div>
    <ul class="pagination-list is-hidden-mobile">
        
        <li><a class="pagination-link" href="/">1</a></li>
        
        <li><span class="pagination-ellipsis">&hellip;</span></li>
        
        <li><a class="pagination-link" href="/page/4/">4</a></li>
        
        <li><a class="pagination-link is-current" href="/page/5/">5</a></li>
        
        <li><a class="pagination-link" href="/page/6/">6</a></li>
        
    </ul>
</nav>

    
    </div>
</section>
    <footer class="footer">
    <div class="container">
        <div class="columns content">
            <div class="column is-narrow has-text-centered">
                Copyright &copy; 2019 鬼王&nbsp;
                <!-- Powered by <a href="https://github.com/O70" target="_blank">O70</a> -->
            </div>
            <div class="column is-hidden-mobile"></div>

            
            <div class="column is-narrow">
                <div class="columns is-mobile is-multiline is-centered">
                
                    
                <a class="column is-narrow has-text-black" title="京ICP备19029828号" href="http://www.miitbeian.gov.cn">
                    
                    京ICP备19029828号
                    
                </a>
                
                    
                <a class="column is-narrow has-text-black" title="GitHub" href="https://github.com/O70">
                    
                    GitHub
                    
                </a>
                
                </div>
            </div>
            
            

        </div>
    </div>
</footer>

    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment-with-locales.min.js"></script>

<!-- test if the browser is outdated -->
<div id="outdated">
    <h6>Your browser is out-of-date!</h6>
    <p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p>
    <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/outdated-browser/1.1.5/outdatedbrowser.min.js"></script>
<script>
    $(document).ready(function () {
        // plugin function, place inside DOM ready function
        outdatedBrowser({
            bgColor: '#f25648',
            color: '#ffffff',
            lowerThan: 'flex'
        })
    });
</script>

<script>
    window.FontAwesomeConfig = {
        searchPseudoElements: true
    }
    moment.locale("en-AU");
</script>



<script src="/js/script.js"></script>


    
    <div class="searchbox ins-search">
    <div class="searchbox-mask"></div>
    <div class="searchbox-container ins-search-container">
        <div class="searchbox-input-wrapper">
            <input type="text" class="searchbox-input ins-search-input" placeholder="Type something...">
            <span class="searchbox-close ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
        </div>
        <div class="searchbox-result-wrapper ins-section-wrapper">
            <div class="ins-section-container"></div>
        </div>
    </div>
</div>
<script>
    (function (window) {
        var INSIGHT_CONFIG = {
            TRANSLATION: {
                POSTS: 'Posts',
                PAGES: 'Pages',
                CATEGORIES: 'Categories',
                TAGS: 'Tags',
                UNTITLED: '(Untitled)',
            },
            CONTENT_URL: '/content.json',
        };
        window.INSIGHT_CONFIG = INSIGHT_CONFIG;
    })(window);
</script>
<script src="/js/insight.js"></script>
    
</body>
</html>
